import constants from '@/commons/constants';
const moduleCode = constants.MODULE_CUSTOMER_CODE;
export default [
    {
        path: '/rank',
        redirect: '/rank/manage'
    },
    {
        path: '/rank/manage',
        name: 'rankManage',
        component: () => import('@/views/user/rank/manage/index.vue'),
        meta: {
            title: '等级管理',
            code: 'rank_manage'
        }
    },
    {
        path: '/rank/manage/add',
        name: 'rankAdd',
        component: () => import('@/views/user/rank/manage/add/index.vue'),
        meta: {
            title: '添加等级',
            code: 'rank_manage_add'
        }
    },
    {
        path: '/rank/manage/edit',
        name: 'rankEdit',
        component: () => import('@/views/user/rank/manage/add/index.vue'),
        meta: {
            title: '编辑等级',
            code: 'rank_manage_edit'
        }
    },
    {
        path: '/rank/growthRules',
        name: 'rankGrowthRules',
        component: () => import('@/views/user/rank/growthRules/index.vue'),
        meta: {
            title: '成长规则',
            code: 'rank_growth_rules'
        }
    },
    {
        path: '/rank/levellog',
        name: 'rankLevellog',
        component: () => import('@/views/user/rank/levellog/index.vue'),
        meta: {
            title: '等级日志',
            code: 'rank_levellog'
        }
    },
    {
        path: '/rank/gradeChangeRules',
        name: 'gradeChangeRules',
        component: () => import('@/views/user/rank/gradeChangeRules/index.vue'),
        meta: {
            title: '等级变更规则',
            code: 'rank_grade_change_rules'
        }
    }
];
